package com.pqtest.api.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Getter
@Setter
public class SimulibraryEntity {
    //id, title, pq_test_category_id, pq_user_id, module_type, test_type, is_done, last_stop_time, created_time, updated_time, state, simu_type, library_id
    private Integer id;
    private String title;
    private int categoryId;
    private int userId;
    private int moduleType;
    private int testType;
    private int isDone;
    private int lastStopTime;
    private int state;
    private int simuType;
    private int libraryId;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    private Date created_time;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    private Date updated_time;
}
